﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _01PrintingNumbers
{
    class _01PrintingNumbers
    {
        static void Main(string[] args)
        {
            Console.Write("Enter value for n = ");
            string strNumber = Console.ReadLine();
            int number = int.Parse(strNumber);
            int n = 1;
            while (n <= number)
            {
                Console.Write("{0}, ", n);
                n++;
            }
        }
    }
}
